<template>
	<view class="box" @click="goHongbao">
		<image src="https://jw.xzsw2021.com/static/index/icon_52@2x.png" mode=""></image>
	</view>
</template>

<script>
	export default {
		name:"hongbao",
		data() {
			return {
				
			};
		},
		methods:{
			goHongbao(){
				console.log('红包');
				uni.navigateTo({
					// url:'/pages/client/activity/activity?type=2'
					// url:'/pages/user/myredbao/myredbao',//我的红包
					url:'/pages/user/myredbao/redbao-center/redbao-center',//领取红包中心
				})
			}
		}
	}
</script>

<style>
	.box{
		position: fixed;
		right: 20rpx;
		bottom: 212rpx;
		width: 133rpx;
		height: 133rpx;
		z-index: 21;
	}
	image{
		width: 133rpx;
		height: 133rpx;
	}
</style>
